package com.jx.mlxg.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName approval_record
 */
@TableName(value ="approval_record")
@Data
public class ApprovalRecord {


    @TableField(exist = false)
    private Boolean isShow = Boolean.FALSE;  // 显式设置默认值为 false

    @TableField(exist = false)
    private List<ApprovalRecord> approvalRecordList;
    /**
     *
     */
    @TableId(value = "record_id", type = IdType.AUTO)
    private Integer recordId;

    /**
     *
     */
    @TableField(value = "order_id")
    private String orderId;

    /**
     *
     */
    @TableField(value = "node_id")
    private int nodeId;

    /**
     *
     */
    @TableField(value = "users_id")
    private Long usersId;

    /**
     *
     */
    @TableField(value = "approve_status")
    private String approveStatus;

    /**
     *
     */
    @TableField(value = "approve_opinion")
    private String approveOpinion;

    /**
     *
     */
    @TableField(value = "approve_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime approveTime;

    @TableField(exist = false)
    private Long approveStamp;
}